package com.schoolegard.services;

import java.util.List;

import com.schoolgard.entitybean.AlarmClass;

public interface AlarmClassService {

	/**
	 * 新增修改
	 * @param alramClass
	 */
	int saveOrUpdate(AlarmClass alramClass);
	
	/**
	 * 删除
	 * @param id
	 */
	int delete(Long id);
	
	/**
	 * 根据ID查找
	 * @param id
	 * @return
	 */
	AlarmClass findAlarmClass(Long id);
	
	/**
	 * 查找所有并分页
	 * @return
	 */
	List<AlarmClass> findAll(int start,int limit);

	int findCount();
	
	List<AlarmClass> findAll();
	
}
